package com.wdhcr.service;


import com.wdhcr.entity.Photo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface PhotoService {

    Photo savePhoto(Photo photo);

    Page<Photo> listPhoto(Pageable pageable);

    Page<Photo> findPhoto(Pageable pageable);

    Photo getPhoto(Long id);

    void delete(Long id);


}
